<template>
  <div>
    <T1 />
    <T2 />
  </div>
</template>

<script>
import T1 from "@/components/T1";
import T2 from "@/components/T2";
export default {
  components: {
    T1,
    T2,
  },
  data() {
    return {
      a: 1,
    };
  },
  methods: {
    get() {
      console.log(this.$children[1]);
      console.log(this.$refs.my);
    },
  },
};
</script>

<style lang="less" scoped>
</style>